/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package org.abc;

/**
 * <p>Project: jse2303 - Op3
 * <p>Powered by webrx On 2023-07-06 16:39:12
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Op3 {
    public static void main(String[] args) {
        //int a = 3;
        //int b = 1;
        //System.out.println(a > b);//true
        //System.out.println(a >= b);//true
        //System.out.println(a < b);//false
        //System.out.println(a <= b);//false
        //System.out.println(a != b);//true
        //System.out.println(a == b);//false
        //System.out.println(a==a);//true
        //System.out.println(3==3);//true

        //String s1 = "ok";
        //String s2 = "ok";
        String s1 = new String("ok");
        String s2 = new String("OK");
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s1 != s2);//false  true true
        System.out.println(s1 == s2);//true false false
        System.out.println(s1.equals(s2));//true true false
        System.out.println(s1.equalsIgnoreCase(s2));//true true true
    }
}
